<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="header">
    <h1>软赢博客</h1>
    <div class="menus">
        <c:if test="${LOGIN_USER == null}">
            <a href="/blog/user/register">注册</a>
            <a href="/blog/user/login">登录</a>
        </c:if>
        <c:if test="${LOGIN_USER != null}">
            <a href="/blog/article/form">  发表文章 </a>
            <a href="/blog/user/profile">个人资料</a>
            <div class="avatar">
                <img src="${LOGIN_USER.avatar}" alt="">

            </div>


            
        </c:if>
    </div>

</div>
